package Demo;

import java.sql.SQLException;
import java.util.List;

/**
 * @author Mucd
 */
public interface IsFunction<T> {
    int save(T t);

    int delete(T t) throws SQLException;

    List<T> selectAll();

    T selectOne(T t) throws SQLException;

    int updateUser(T t);

//    int updatePassWord(T t) throws SQLException;
}
